package pcjavanet.mobilesell.persistence;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pcjavanet.mobilesell.model.PageBean;
import pcjavanet.mobilesell.model.Suppliers;
import pcjavanet.mobilesell.model.SuppliersExample;

public interface SuppliersMapper {
    int countByExample(SuppliersExample example);

    int deleteByExample(SuppliersExample example);

    int deleteByPrimaryKey(Integer dbid);

    int insert(Suppliers record);

    int insertSelective(Suppliers record);

    List<Suppliers> selectByExample(SuppliersExample example);

    Suppliers selectByPrimaryKey(Integer dbid);

    int updateByExampleSelective(@Param("record") Suppliers record, @Param("example") SuppliersExample example);

    int updateByExample(@Param("record") Suppliers record, @Param("example") SuppliersExample example);

    int updateByPrimaryKeySelective(Suppliers record);

    int updateByPrimaryKey(Suppliers record);

    List<Suppliers> getOnePageBeans(@Param("example") SuppliersExample example, @Param("pageBean") PageBean pageBean);

    int getTotalRecords(@Param("example") SuppliersExample example, @Param("pageBean") PageBean pageBean);

    List<Suppliers> selectByExamplePage(@Param("example") SuppliersExample example, @Param("pageBean") PageBean pageBean);
}